﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Header.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="geekmeet.Search" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.bgiframe-2.1.2.js" type="text/javascript"></script>
    <script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js" type="text/javascript"></script>
    <script src="../Scripts/geekmeet.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="mainWrapper">
 <h1>Sök medlem</h1>
    <input type="hidden" name="hiddenSelectedInterests" id="hiddenSelectedInterests" value="" />
    
    <div id="soulmateWrapper">
            <div id="soulmateInner">
                    <asp:LinkButton ID="linkBtnPerfectMatch" runat="server" onclick="CheckPremium" 
                        CssClass="strongLink">
                    Hitta min själsfrände!</asp:LinkButton>
                        </div>
           </div>
            
 <div id="searchMember">

            <table style="width: 100%;">

                        <br />
                <tr>
                    <td style="width: 109px">
                        Användarnamn</td>
                    <td>
            
                        <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ErrorMessage="Tillåtna tecken är bokstäver, siffror och understreck." ControlToValidate="txtUserName" 
                            ValidationExpression="^[aA-öÖ0-9_]+$" CssClass="errorText"></asp:RegularExpressionValidator>
            
                    </td>
      
                </tr>
                <tr>
                    <td style="width: 109px">
                        Förnamn</td>
                    <td>
          
                        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ErrorMessage="Endast bokstäver är tillåtna." ControlToValidate="txtFirstName" 
                        ValidationExpression="[aA-öÖ]{2,}" CssClass="errorText"></asp:RegularExpressionValidator>
                    </td>
       
                </tr>
                <tr>
                    <td style="width: 109px;">
                        Efternamn</td>
                    <td>
            
                        <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                        ErrorMessage="Endast bokstäver är tillåtna." 
                            EnableTheming="True" ControlToValidate="txtLastName" 
                        ValidationExpression="[aA-öÖ]{2,}" CssClass="errorText"></asp:RegularExpressionValidator>
                    </td>
      
                </tr>
                <tr>
                    <td style="width: 109px;">
                        Kön</td>
                    <td>
                        <asp:DropDownList ID="ddlGender" runat="server">
                            <asp:ListItem Value="0">Båda</asp:ListItem>
                            <asp:ListItem Value="m">Man</asp:ListItem>
                            <asp:ListItem Value="f">Kvinna</asp:ListItem>
                        </asp:DropDownList>


                        </td>
      
                </tr>
                <tr>
                    <td>
                        Intressen</td>
                    <td>
                        <div id="interestsContainer" name="interestsContainer">
                
                        </div>


                        </td>
      
                </tr>
                <tr>
                    <td style="width: 109px">
                       </td>
                    <td>
            
                        <asp:Button ID="Button1" runat="server" PostBackUrl="SearchResult.aspx?action=normalsearch" 
                            Text="Sök"/>
                    </td>
       
                </tr>
            </table>


</div>
</div>
</asp:Content>
